package com.example.java.service.impl;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.java.entity.User;

public interface UserService extends IService<User> {
    // Custom method to add a new user
    boolean addUser(User user);

    // Custom method to update an existing user
    boolean updateUser(User user);

    // Custom method to retrieve a user by openId
    User getUserByOpenId(String openId);
}
